variable "slb_name" {
  default = ""
}
variable "slb_internet_charge_type" {
  default = "PayByTraffic"
}
variable "slb_address_type" {
  default = "intranet"
}
variable "slb_vswitch_id" {
  default = []
  type = list(string)
}
variable "slb_instance_type" {
  default = ""
}
variable "slb_bandwidth" {
  default = "5"
}
variable "number_of_instances" {
  default = ""
}
variable "tags" {
  default = {}
  type = map(string)
}
variable "slb_backend_port" {
  default = "80"
}
variable "slb_frontend_port" {
  default = "80"
}
variable "slb_protocol" {
  default = "http"
}
variable "slb_listen_bandwidth" {
  default = "-1"
}
variable "slb_scheduler" {
  default = "wrr"
}
variable "slb_healthy_threshold" {
  default = "3"
}
variable "slb_unhealthy_threshold" {
  default = "3"
}
variable "slb_health_check_timeout" {
  default = "5"
}
variable "slb_health_check_interval" {
  default = "2"
}
variable "slb_enable_sticky_session" {
  default = false
}
variable "slb_sticky_session_type" {
  default = "server"
}
variable "slb_cookie" {
  default = "testslblistenercookie"
}
variable "slb_cookie_timeout" {
  default = "86400"
}
variable "slb_enable_health_check" {
  default = false
}
variable "slb_enable_gzip" {
  default = false
}
variable "retrive_slb_ip" {
  default = false
}
variable "retrive_slb_id" {
  default = false
}
variable "retrive_slb_proto" {
  default = false
}
variable "slb_health_check_connect_port" {
  default = ""
}
variable "slb_health_check_domain" {
  default = ""
}
variable "slb_health_check_uri" {
  default = "/"
}
variable "slb_health_check_http_code" {
  default = "http_2xx"
}
variable "slb_health_check_type" {
  default = "tcp"
}
variable "slb_persistence_timeout" {
  default = "30"
}
variable "slb_acl_status" {
  default = "off"
}
variable "slb_acl_type" {
  default = "white"
}
variable "slb_acl_request_timeout" {
  default = "60"
}
variable "slb_acl_idle_timeout" {
  default = "30"
}

variable "slb_acl_ip_version" {
  default = "ipv4"
}
variable "slb_acl_entry_list" {
  type = list(object({
    entry   = string
    comment = string
  }))
  default = []  
}
variable "enable_slb_attachment" {
  default = false
}
variable "slb_attach_instance_ids" {
  default = ""
}
variable "enable_slb_listener" {
  default = true
}
variable "slb_server_certificate_id" {
  default = ""
}
variable "slb_enable_http2" {
  default = "off"
}
variable "slb_tls_cipher_policy" {
  default = "tls_cipher_policy_1_0"
}
variable "slb_listener_forward" {
  default = "off"
}
variable "slb_acl_id" {
  default = ""
}
